Create a group

Hi,

 

I want to create a Group with DXL, my user is a Database Manager so I have permissions to create it.

 

I am using the function "string addGroup(string name)", but it doesn't work. If I create an If to see if the group exists with the function "existsGroup", it returns that the group exists, but I can't see it, and if I close and reopen DOORS, with the function returns that doesn't exist.

 

Thank you!


Juanfergar - Tue May 28 02:48:12 EDT 2019

Re: Create a group
PekkaMakinen - Tue May 28 04:10:03 EDT 2019

The "addUser" function in DXL Reference has a note "This action takes effect after the user directory has been refreshed using the saveDirectory function"  - I would think that the same applies to the addGroup.

Re: Create a group
Juanfergar - Tue May 28 10:54:57 EDT 2019

PekkaMakinen - Tue May 28 04:10:03 EDT 2019

The "addUser" function in DXL Reference has a note "This action takes effect after the user directory has been refreshed using the saveDirectory function"  - I would think that the same applies to the addGroup.

Thank you!!

It's just like you say, it needs the same than the users.